package com.hospital.workstation.service;

import com.hospital.workstation.domain.LawsRegulationsMedicine;
import com.hospital.workstation.domain.vo.LawsRegulationsMedicineVo;
import com.hospital.workstation.domain.bo.LawsRegulationsMedicineBo;
import com.hospital.common.core.page.TableDataInfo;
import com.hospital.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 医疗相关法律法规Service接口
 *
 * @author hospital
 * @date 2023-03-20
 */
public interface ILawsRegulationsMedicineService {

    /**
     * 查询医疗相关法律法规
     */
    LawsRegulationsMedicineVo queryById(Long id);

    /**
     * 查询医疗相关法律法规列表
     */
    TableDataInfo<LawsRegulationsMedicineVo> queryPageList(LawsRegulationsMedicineBo bo, PageQuery pageQuery);

    /**
     * 查询医疗相关法律法规列表
     */
    List<LawsRegulationsMedicineVo> queryList(LawsRegulationsMedicineBo bo);

    /**
     * 新增医疗相关法律法规
     */
    Boolean insertByBo(LawsRegulationsMedicineBo bo);

    /**
     * 修改医疗相关法律法规
     */
    Boolean updateByBo(LawsRegulationsMedicineBo bo);

    /**
     * 校验并批量删除医疗相关法律法规信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
